package cn.chenfyuan.demoapplication.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.chenfyuan.demoapplication.entity.SysUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;

/**
 * <p>
 * 用户Mapper 接口
 * </p>
 *
 * @author linweijian
 * @since 2018-05-02
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    /***
     *   分页查找列表
     * @author linweijian
     * @Date 2018/5/3 22:25
     * @param page
     * @param vo
     * @return java.util.List<cn.chenfyuan.demoapplication.entity.SysUser>
     * @throws
     **/
    List<SysUser> selectPage(@Param("depId") Page<SysUser> page, @Param("vo") SysUser vo);

    SysUser findByName(String userName);

}
